* Fix null dereference in gtk_css_provider_take_error()
* And another in gtk_css_provider_emit_error()
https://bugzilla.gnome.org/show_bug.cgi?id=664537
const GError *error)
{
g_signal_emit (provider, css_provider_signals[PARSING_ERROR], 0,
- scanner->section, error);
+ scanner != NULL ? scanner->section : NULL, error);
}
static void
GtkCssScanner *scanner,
GError *error)
{
- gtk_css_provider_emit_error (scanner->provider,
+ gtk_css_provider_emit_error (provider,
scanner,
error);